home *** CD-ROM | disk | FTP | other *** search
/ Stone Design / Stone Design.iso / Stone_Friends / NeXT-Icons / next-icon@gun.com / Apps / ImagePortfolio / ExpandedView.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-06-03  |  904 b   |  31 lines

  1. // -------------------------------------------------------------------------------------
  2. // ExpandedView.h
  3. // -------------------------------------------------------------------------------------
  4.  
  5. extern "Objective-C" {
  6. #import <appkit/View.h>
  7. }
  8.  
  9. // -------------------------------------------------------------------------------------
  10. @interface ExpandedView : View
  11. {
  12.  
  13.     id            imageId;            // image id
  14.     const char    *imageFile;            // image file name
  15.     int            imageRep;            // which rep to display
  16.     int            bestRep;            // index of best representation
  17.  
  18.     BOOL        drawWithAlpha;        // draw image with alpha (composite)
  19.     float        backgroundGray;        // background gray
  20.   
  21. }
  22.  
  23. // -------------------------------------------------------------------------------------
  24. - setImage:image :(const char*)fileName;
  25. - image;
  26. - (BOOL)imageRepHasAlpha:(int)repNum;
  27. - (int)bestRepIndex;
  28. - setImageRep:(int)repNum withAlpha:(BOOL)useAlpha;
  29.  
  30. @end
  31.